package cn.kgc.springboot.controller;

import cn.kgc.springboot.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 *
 * Created by 小保底不歪 
 * 2022/7/19 10:02
 */
@Controller
@RequestMapping("hello")
public class HelloController {

    @Autowired
    private HelloService helloService;

    @RequestMapping("t1")
    @ResponseBody
    public String test01(){
        return "hello springboot";
    }
}
